package cn.qzbook.controller;

import cn.qzbook.service.FrontPaymentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @Description
 * @Author zc
 * @Date 2020/12/13 下午11:46
 */
@RestController
public class FrontPaymentController {

    @Autowired
    private FrontPaymentService frontPaymentService;

    @GetMapping("customer/host")
    public String rest(){
        return frontPaymentService.host();
    }

    @GetMapping("customer/get")
    public String get(){
        return frontPaymentService.get();
    }

}
